<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 基础数据类型: string、number、boolean、null、undefined、symbol
    // 唯一值
    let s1 = Symbol(1)
    let s2 = Symbol(1)

    // console.log(s1)
    // console.log(s2)
    // console.log(s1 === s2)

    const k1 = Symbol('name')
    const k2 = Symbol('name')
    
    const obj = {}
    obj[k1] = 'aa'
    obj[k2] = [1,2,3,4,5]
    console.log(obj)    






  </script>
</body>
</html>